.countTablePanel {
  @height: 270px;
  @top: @SYSMARGINTOP;
  @margin: 10px;
  height: @height;
  bottom: auto;
  &.top {
  }
  &.mid {
    top: @SYSMARGINTOP + @margin + @height;
  }
  &.bottom {
    top: @SYSMARGINTOP + (@margin + @height)*2;
  }
  padding: 10px;
  .countTableBlock {

    > .title {
      //padding-top: 2px !important;
      //padding-bottom: 2px !important;
      //border-bottom: none;
      //margin-bottom: 0;
    }

    .countBlock {
      display: flex;
      flex-wrap: wrap;
      .countItem {
        cursor: pointer;
        width: 184px;
        border: 1px solid fade(@color-white, 50);
        border-radius: 5px;
        margin: 2px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 3px 5px;
        .icon {
          width: 20px;
          height: 20px;
          margin-right: 5px;
        }
        .title {
          font-size: 14px;
          height: 14px;
          line-height: 14px;
          color: @color-white;
        }
        .count {
          font-size: 24px;
          color: @themeOrange;
          flex: 1;
          margin: 0 10px;
          .tac;
          //earth element render fix
          .font .digital;
        }
        .unit {
          font-size: 12px;
          opacity: 0.6;
          height: 12px;
          line-height: 12px;
        }
        &:hover, &.active {
          background-color: fade(@theme, 80);
          border: 1px solid fade(@color-white, 80);
          color: @color-white;
          .count {
            color: @color-orange;
          }
          .unit {
            opacity: 1;
          }
        }
      }
    }
    .wrap {
      .filterBlock {
        margin-bottom: 5px;
      }
      table {
        thead, tbody, tfoot {
          tr {
            cursor: pointer;
            th, td {
              padding: 3px;
            }
            td {
              &.alarm {
                .rel;
                &:before {
                  content: "";
                  display: block;
                  .abs;
                  left: 50%;
                  top: 50%;
                  transform: translateX(-50%) translateY(-50%);
                  width: 16px;
                  height: 16px;
                  background-image: url("../img/table/alarm.png");
                  background-repeat: no-repeat;
                  background-size: contain;
                }
              }
              &.onlineSta {
                .rel;

                &:before {
                  content: "";
                  display: block;
                  .abs;
                  left: 50%;
                  top: 50%;
                  transform: translateX(-50%) translateY(-50%);
                  width: 16px;
                  height: 16px;
                  background-repeat: no-repeat;
                  background-size: contain;
                }

                &.online {
                  &:before {
                    background-image: url("../img/table/online.png");
                  }

                }

                &.offline {
                  &:before {
                    background-image: url("../img/table/offline.png");
                  }
                }

              }
            }

          }
        }
      }
    }
  }
}